package com.cgnpc.scp.sri.laboratory.service;


import cn.com.cgnpc.aep.bizcenter.appcenter.sdk.result.ApiResult;
import com.cgnpc.cud.core.domain.AjaxResult;
import com.cgnpc.scp.sri.laboratory.mybatis.entity.LaboratoryAnnualPlanPhase;
import com.cgnpc.scp.sri.laboratory.pojo.LaboratoryAnnualPlanPhaseVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

public interface LaboratoryAnnualPlanPhaseService {

    List<LaboratoryAnnualPlanPhase> getPhaseByPlanId(String planId);

    LaboratoryAnnualPlanPhaseVo stageInfo(String id);

    AjaxResult planStageSave(Map<String, Object> params) throws Exception ;

    @Transactional
    ApiResult stageSubmitProcess(Map<String, Object> params) throws Exception;

    LaboratoryAnnualPlanPhaseVo progressInfo(String id);

    ApiResult deleteProcessDraft(Map<String, Object> params) throws Exception;
}
